#ifndef _MC_H
#define _MC_H
/*
  author Sylvain Bertrand <digital.ragnarok@gmail.com>
  Protected by GNU Affero GPL v3 with some exceptions.
  See README at root of alga tree.
*/

struct mc_dce_save
{
	u32 vga_ctl[6];
	u32 vga_render_ctl;
	u32 vga_hdp_ctl;
	u32 crtc_ctl[6];
};

void mc_dce_stop(struct pci_dev *dev, struct mc_dce_save *save);
void mc_dce_resume(struct pci_dev *dev, struct mc_dce_save *save);
int mc_program(struct pci_dev *dev);
int mc_wait_for_idle(struct pci_dev *dev);
#endif /* _MC_H */
